﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="HMS.PresentationWeb._default" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="../../src/css/xvalidation.css" rel="stylesheet" type="text/css" />
    <script src="<%=ResolveUrl("~/src/js/jquery.min.1.7.1.js") %>"></script>
    <script src="<%=ResolveUrl("~/src/js/xvalidation.js") %>" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            $("#<%=btnLogin.ClientID%>").click(function (e) {
                if (!ValidateForm("guardarCliente")) {
                    e.preventDefault();
                }
                else {
                    alert("login");
                }
            });
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div id="login">
            <div>
                <asp:Label ID="Label1" runat="server" Text="Email"></asp:Label>
                <asp:TextBox ID="txtEmail" CssClass=":required :email" runat="server"></asp:TextBox>
            </div>
            <div>
                <asp:Label ID="Label2" runat="server" Text="Password"></asp:Label>
                <asp:TextBox ID="txtPassword" CssClass=":required" runat="server"></asp:TextBox>
            </div>
            <div>
                <asp:Button ID="btnLogin" runat="server" Text="Login" OnClick="btnLogin_Click" />
                <br />
            </div>
        </div>
        <div>
            <a href="common/registrarcliente.aspx">Registrar Cliente</a>
        </div>
    </form>
</body>
</html>
